<div class="wrapper" ms-controller="users">
	<div class="mod-search cf">
		<div class="fl">
			<ul class="ul-inline">
				<li><input type="text" ms-duplex="query.keyword" class="ui-input con" value="" placeholder="请输入查询关键字"></li>
				<li><select ms-duplex="query.status" class="ui-input">
						<option value="">状态</option>
					
				</select></li>
				<li><label>日期:</label> <input type="text" ms-duplex="query.start_date" class="ui-input ui-datepicker-input" placeholder="起始日期"
					    onclick="laydate()"> <span>-</span> <input type="text" ms-duplex="query.end_date" class="ui-input ui-datepicker-input"
					    placeholder="截止日期" onclick="laydate()"></li>
				<li><a class="ui-btn" id="search" ms-click="reloadData" title="查询"><i class="fa fa-search"></i></a> <a class="ui-btn" id="refresh"
					    ms-click="reset" title="重置查询条件"><i
						class="fa fa-refresh"></i></a></li>
			</ul>
		</div>
		<div class="fr">
			<a class="ui-btn ui-btn-sp mrb" id="add" title="新增"><i class="fa fa-plus"></i></a>
			<a class="ui-btn mrb" id="btn-batchDel" title="删除"><i class="fa red fa-trash-o"></i></a>
		</div>
	</div>
	<div id="editUser" style="display: none;">
		<form id="userForm" class="form-dl">
			<table>
				<tr>
					<td class="left"><label for="username">用户名：</label></td>
					<td class="short"><input type="text" id="unedit" name="userName" class="text" ms-duplex="userInfo.userName" /></td>
				</tr>
				<tr>
					<td class="left"><label for="employeeName">员工姓名：</label></td>
					<td class="short applay_td"><input type="text" id="employeeName" name="employeeName" class="text required" ms-duplex="userInfo.employeeName" title="员工必填"
						/></td>
				</tr>
				<tr>
					<td class="left"><label for="email">邮箱：</label></td>
					<td class="short applay_td"><input type="text" id="email" name="email" class="text" ms-duplex="userInfo.email" /></td>
				</tr>
			</table>
		</form>
	</div>
	<div id="setRole" style="display: none;">
		<form id="userInfoForm" class="form-dl">
			<ul class="short applay_td ">
				<li ms-repeat="roleList" style="list-style-type:none;"><input type="checkbox" ms-attr-value="el.id" ms-duplex="selected" style="vertical-align: -7px" />{{el.description}}</li>
			</ul>
		</form>
	</div>
	<div class="grid-wrap">
		<table id="grid">
		</table>
		<div id="page"></div>
	</div>
</div>